#!usr/bin/env python
# -*- coding:utf-8 _*-
"""
@author:chengyanan
@file: unitest_case.py
@time: 2019/12/22  3:11 下午
"""
import unittest


class FirstCase01(unittest.TestCase):
    @classmethod
    def setUpClass(cls):
        print("setupclass")

    def setUp(self):
        print("setup")

    def test_first03(self):
        print("这是第一条case3")

    def test_first02(self):
        print('这是第二条case')

    def tearDown(self):
        print("teardown")

    @classmethod
    def tearDownClass(cls):
        print('teardownclass')


if __name__ == '__main__':
    unittest.main()
    # suite=unittest.TestSuite()
    # suite.addTest(FirstCase01("test_first02"))
    # suite.addTest(FirstCase01("test_first01"))
    # unittest.TextTestRunner().run(suite)